package info.sybian.service;

import info.sybian.service.Do.Service;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import objot.codec.Codec;
import objot.container.Inject;

import com.sleepycat.je.DatabaseConfig;
import com.sleepycat.je.Environment;

@Service
public class Do {
	@Retention(RetentionPolicy.RUNTIME)
	@Target({ElementType.METHOD, ElementType.TYPE})
	@Inherited
	public @interface Service {
	}

	@Inject
	public Environment env;
	@Inject
	public DatabaseConfig dc;
	@Inject
	public Codec codec;
}
